package com.wpre.lotterysystem.common.errcode;

import lombok.Data;

/**
 * Created with IntelliJ IDEA.
 * Description:定义错误码
 * User: LianBao
 * Date: 2024-12-10
 * Time: 19:38
 */
@Data
public class ErrorCode {

    private final Integer code;//错误码

    private final String msg;//错误信息

    public ErrorCode(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }


}
